package com.springboot.killingsystem.rabbitmq;


import com.springboot.killingsystem.util.Constant;
import org.springframework.amqp.core.*;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class MQConfig {

    @Bean
    public Queue secondKillingQueue() {
        return new Queue(Constant.SECOND_KILLING_QUEUE,true);
    }

}
